package homework;

public class Homework4_6 {
	public static void main(String[] args) {

		int number = 10000000;
		int number1;
		while (true) {
			number1 = number;
			for (int i = 1; i < 6; i++) {

				number1 -= ((number1 / 2) + 1);
			}
			if (number1 == 1) {
				System.out.println(number);
				break;
			}
			number -= 2;

		}

	}
}
